.class Lcom/estrongs/android/pop/app/editor/ObservableScrollView$a;
.super Ljava/lang/Object;
.source "ObservableScrollView.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/app/editor/ObservableScrollView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/app/editor/ObservableScrollView;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/editor/ObservableScrollView;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView$a;->a:Lcom/estrongs/android/pop/app/editor/ObservableScrollView;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 5

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView$a;->a:Lcom/estrongs/android/pop/app/editor/ObservableScrollView;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->a(Lcom/estrongs/android/pop/app/editor/ObservableScrollView;)Ljava/lang/Object;

    move-result-object v0

    monitor-enter v0

    .line 2
    :try_start_0
    iget-object v1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView$a;->a:Lcom/estrongs/android/pop/app/editor/ObservableScrollView;

    invoke-virtual {v1}, Landroid/widget/ScrollView;->getScrollY()I

    move-result v1

    .line 3
    iget-object v2, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView$a;->a:Lcom/estrongs/android/pop/app/editor/ObservableScrollView;

    invoke-static {v2}, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->b(Lcom/estrongs/android/pop/app/editor/ObservableScrollView;)I

    move-result v2

    sub-int/2addr v2, v1

    if-nez v2, :cond_0

    .line 4
    iget-object v1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView$a;->a:Lcom/estrongs/android/pop/app/editor/ObservableScrollView;

    invoke-static {v1}, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->c(Lcom/estrongs/android/pop/app/editor/ObservableScrollView;)Lcom/estrongs/android/pop/app/editor/ObservableScrollView$b;

    move-result-object v1

    if-eqz v1, :cond_1

    .line 5
    iget-object v1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView$a;->a:Lcom/estrongs/android/pop/app/editor/ObservableScrollView;

    invoke-static {v1}, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->c(Lcom/estrongs/android/pop/app/editor/ObservableScrollView;)Lcom/estrongs/android/pop/app/editor/ObservableScrollView$b;

    move-result-object v1

    invoke-interface {v1}, Lcom/estrongs/android/pop/app/editor/ObservableScrollView$b;->d()V

    .line 6
    iget-object v1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView$a;->a:Lcom/estrongs/android/pop/app/editor/ObservableScrollView;

    const/4 v2, 0x0

    invoke-static {v1, v2}, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->a(Lcom/estrongs/android/pop/app/editor/ObservableScrollView;Z)Z

    goto :goto_0

    .line 7
    :cond_0
    iget-object v1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView$a;->a:Lcom/estrongs/android/pop/app/editor/ObservableScrollView;

    iget-object v2, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView$a;->a:Lcom/estrongs/android/pop/app/editor/ObservableScrollView;

    invoke-virtual {v2}, Landroid/widget/ScrollView;->getScrollY()I

    move-result v2

    invoke-static {v1, v2}, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->a(Lcom/estrongs/android/pop/app/editor/ObservableScrollView;I)I

    .line 8
    iget-object v1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView$a;->a:Lcom/estrongs/android/pop/app/editor/ObservableScrollView;

    iget-object v2, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView$a;->a:Lcom/estrongs/android/pop/app/editor/ObservableScrollView;

    invoke-static {v2}, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->d(Lcom/estrongs/android/pop/app/editor/ObservableScrollView;)Ljava/lang/Runnable;

    move-result-object v2

    iget-object v3, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView$a;->a:Lcom/estrongs/android/pop/app/editor/ObservableScrollView;

    invoke-static {v3}, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->e(Lcom/estrongs/android/pop/app/editor/ObservableScrollView;)I

    move-result v3

    int-to-long v3, v3

    invoke-virtual {v1, v2, v3, v4}, Landroid/widget/ScrollView;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 9
    :cond_1
    :goto_0
    monitor-exit v0

    return-void

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method
